package com.yang.bean.beanfactory.registry;

/**
 * @Description: 来注册实例的bean
 * @author: Yang Qiang
 * @create: 2021-11-07 17:37
 */
public interface SingletonBeanRegistry {

    /**
     * 获取单例对象
     * @param name
     * @return
     */
    Object getSingletonBean(String name);


    /**
     * 对象的注册
     * @param name
     * @param bean
     */
    void registrySingletonBean(String name, Object bean);
}
